﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Examination.Args.Request
{
    public class RegisterParameter
    {
        [Required]
        [MaxLength(10)]
        public string Name { get; set; }
        [Required]
        [MaxLength(20)]
        [MinLength(6)]
        public string Number { get; set; }
        [Required]
        [MaxLength(50)]
        public string Class { get; set; }
        [Required]
        [MaxLength(4)]
        [MinLength(4)]
        public string Code { get; set; }
    }
}
